package com.cy.service.impl;

import com.cy.vo.PayRecordVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.cy.dao.PayRecordDao;
import com.cy.entity.PayRecord;
import com.cy.service.PayRecordService;



@Service("payRecordService")
public class PayRecordServiceImpl implements PayRecordService {
	@Autowired
	private PayRecordDao payRecordDao;
	
	@Override
	public PayRecord queryObject(Long id){
		return payRecordDao.queryObject(id);
	}
	
	@Override
	public List<PayRecord> queryList(Map<String, Object> map){
		return payRecordDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return payRecordDao.queryTotal(map);
	}
	
	@Override
	public void save(PayRecord payRecord){
		payRecordDao.save(payRecord);
	}
	
	@Override
	public void update(PayRecord payRecord){
		payRecordDao.update(payRecord);
	}
	
	@Override
	public void delete(Long id){
		payRecordDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Long[] ids){
		payRecordDao.deleteBatch(ids);
	}

	@Override
	public List<PayRecordVo>  exportList() {
		return payRecordDao.exportList();
	}

}
